import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import pxtovw from "postcss-px-to-viewport-8-plugin";
const vant_pxtovw = pxtovw({
    viewportWidth: 375,
    viewportUnit: "vw",
});

// https://vitejs.dev/config/
export default defineConfig({
    plugins: [vue()],
    css: {
        postcss: {
            plugins: [vant_pxtovw],
        },
    },
});
